package co.yixiang.modules.shop.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;

/**
 *
 * app版本检测
 * @author hisen
 * @date 2018-12-13
 */
@Entity
@Data
@Table(name = "app_version")
public class AppVersion {
    @Id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "version")
    private String version;

    @ApiModelProperty(value = "wgt_url")
    private String wgtUrl;

    @ApiModelProperty(value = "pkg_url")
    private String pkgUrl;

    @ApiModelProperty(value = "type")
    private Integer type;
}
